Little tutorial to use the trigger_mp3 function
| |
| |
| You can place in your map a new function to play MP3 files as music background or as simple sounds. |
| This trigger works just as other triggers, when the player cross the trigger a mp3 or an array of mp3 are played
. |
| |
| This function can play just one track and stop or loop, or also play an array of mp3 and loop to one of the
mp3. |
| |
| You just have to place a trigger_mp3 in the map and set the polyhedron size. |
| Then you have to define the function parameters, there is many parameters to set: |
| If you use Quark : |
 |
| If you use Worldcraft : |
 |
| |
| starttrack / Start track : is the first mp3 track that will be played |
| single / Single track : if only one track must be played set it to : 1 |
| endtrack / End track : last track that will be played |
| loopto / Loop to track : track that will be played after the last one defined in
endtrack |
| dossiermod / MP3 folder path : mp3 folder name, the path must include the mod folder
name |
| volume / Volume 0-255 : mp3 volume, from 0 to 255 |
| priority / Priority track : if set to 1, any other mp3 will be stopped to play
this one |
| |
| |